package com.jic.data.model.entity;

import com.jic.common.base.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = " customer_consume_record ")
public class CustomerConsumeRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "渠道id")
    private Long channelId;

    @ApiModelProperty(notes = "渠道名称")
    private String channelName;

    @ApiModelProperty(notes = "平台id")
    private Long platformId;

    @ApiModelProperty(notes = "平台名称")
    private String platformName;

    @ApiModelProperty(notes = "店铺id")
    private Long storeId;

    @ApiModelProperty(notes = "店铺名称")
    private String storeName;

    @ApiModelProperty(notes = "客户id")
    private Long customerId;

    @ApiModelProperty(notes = "客户名称")
    private String customerName;

    @ApiModelProperty(notes = "客户手机号")
    private String customerPhone;

    @ApiModelProperty(notes = "订单id")
    private Long orderId;

    @ApiModelProperty(notes = "订单应收金额")
    private Double orderReceivableAmount;

    @ApiModelProperty(notes = "订单实收金额")
    private Double orderReceivedAmount;

    @ApiModelProperty(notes = "订单商品数量")
    private Integer orderGoodsQuantity;

    @ApiModelProperty(notes = "消费日期")
    private Date consumeDate;

    @ApiModelProperty(notes = "首次消费，0：非首次；1：首次")
    private Integer firstConsumeFlag;

    @ApiModelProperty(notes = "更新人")
    private Long updator;

}
